package com.zjy.business.system.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.zjy.web.domain.model.BaseEntity;
import lombok.Data;

import java.io.Serial;

/**
 * @author yxb
 * create_time: 2024-10-22 14:19
 * description: 角色表
 */
@Data
public class SysRole extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 角色名称
     */
    private String name;

    /**
     * 角色权限标识
     */
    private String roleKey;

    /**
     * 状态 0关 1开
     */
    private Integer status;

    /**
     * 排序 正序
     */
    private Integer sortValue;

    /**
     * 备注
     */
    private String remark;

}
